<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tango.net.http.model.HttpParamsView</title>

<link rel="stylesheet" type="text/css" href="css/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/ie56hack.css"><![endif]-->
<script language="JavaScript" src="js/util.js" type="text/javascript"></script>
<script language="JavaScript" src="js/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="js/explorer.js" type="text/javascript"></script>
<script>
function anchorFromTitle(title, path, ext) {
  var url = path + title + "." + ext;
  document.write("<a href='" + url + "'>" + title + "</a>");
  }
</script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tango.net.http.model.HttpParamsView");</script>
        <table class="content">
                <tr><td id="docbody"><h1><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/net/http/model/HttpParamsView.d?rev=3461">tango.net.http.model.HttpParamsView</a></h1>
                
<b>License:</b><br>
BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a><br><br>
<b>Version:</b><br>
Initial release: April 2004<br><br>
<b>author:</b><br>Kris<br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>interface <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/net/http/model/HttpParamsView.d?rev=3461#L34">HttpParamsView</a></span>
<script>explorer.outline.addDecl('HttpParamsView');</script> : IWritable;</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Maintains a set of query parameters, parsed from an HTTP request.
        Use HttpParams instead for output parameters.</font><br><br>
<font color="black">Note that these input params may have been encoded by the user-
        agent. Unfortunately there has been little consensus on what that
        encoding should be &#40;especially regarding GET query-params&#41;. With
        luck, that will change to a consistent usage of UTF-8 within the 
        near future.<br><br></font><br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>char[] <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/net/http/model/HttpParamsView.d?rev=3461#L43">get</a></span>
<script>explorer.outline.addDecl('get');</script>(char[] <span class="funcparam">name</span>, char[] <span class="funcparam">ret</span> = null);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Return the value of the provided header, or null if the
                header does not exist</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>int <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/net/http/model/HttpParamsView.d?rev=3461#L52">getInt</a></span>
<script>explorer.outline.addDecl('getInt');</script>(char[] <span class="funcparam">name</span>, int <span class="funcparam">ret</span> = -1);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Return the integer value of the provided header, or the 
                provided default-value if the header does not exist</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>Time <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/net/http/model/HttpParamsView.d?rev=3461#L61">getDate</a></span>
<script>explorer.outline.addDecl('getDate');</script>(char[] <span class="funcparam">name</span>, Time <span class="funcparam">ret</span> = Time.epoch);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Return the date value of the provided header, or the 
                provided default-value if the header does not exist</font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>void <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/net/http/model/HttpParamsView.d?rev=3461#L69">produce</a></span>
<script>explorer.outline.addDecl('produce');</script>(void delegate (void[]) <span class="funcparam">consume</span>, char[] <span class="funcparam">eol</span>);</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Output the param list to the provided consumer</font><br><br></dd></dl></dd></dl></td></tr>
                <tr><td id="docfooter">
                        Copyright (c) 2004 Kris Bell. All rights reserved :: page rendered by CandyDoc. Generated by <a href="http://code.google.com/p/dil">dil</a> on Sun Jun  8 17:12:55 2008.
                </td></tr>
        </table>
</div>
<script></script>
</body></html>